package com.yiren.manager.form.cost;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yiren.core.form.GenericForm;
import com.yiren.manager.utils.CustomJsonDateDeserializer;

public class YrBaseServiceCostRecordForm extends GenericForm{

	private static final long serialVersionUID = 3351150266823899797L;

	private String baseServiceCostRecordId;

	private String beHospitalId;

	@DateTimeFormat(pattern="yyyy-MM-dd") 
	private Date costDate;

	private Float costMoney;

	private Integer costStatus;

	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	private Date createTime;

	private String elderCardId;

	private String elderId;

	private String elderName;

	private String baseServiceDesc;

	private String baseServiceCostId;

	public String getBaseServiceCostRecordId() {
		return baseServiceCostRecordId;
	}

	public void setBaseServiceCostRecordId(String baseServiceCostRecordId) {
		this.baseServiceCostRecordId = baseServiceCostRecordId;
	}

	public String getBeHospitalId() {
		return beHospitalId;
	}

	public void setBeHospitalId(String beHospitalId) {
		this.beHospitalId = beHospitalId;
	}

	public Date getCostDate() {
		return costDate;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setCostDate(Date costDate) {
		this.costDate = costDate;
	}

	public Float getCostMoney() {
		return costMoney;
	}

	public void setCostMoney(Float costMoney) {
		this.costMoney = costMoney;
	}

	public Integer getCostStatus() {
		return costStatus;
	}

	public void setCostStatus(Integer costStatus) {
		this.costStatus = costStatus;
	}

	public Date getCreateTime() {
		return createTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getElderCardId() {
		return elderCardId;
	}

	public void setElderCardId(String elderCardId) {
		this.elderCardId = elderCardId;
	}

	public String getElderId() {
		return elderId;
	}

	public void setElderId(String elderId) {
		this.elderId = elderId;
	}

	public String getElderName() {
		return elderName;
	}

	public void setElderName(String elderName) {
		this.elderName = elderName;
	}

	public String getBaseServiceDesc() {
		return baseServiceDesc;
	}

	public void setBaseServiceDesc(String baseServiceDesc) {
		this.baseServiceDesc = baseServiceDesc;
	}

	public String getBaseServiceCostId() {
		return baseServiceCostId;
	}

	public void setBaseServiceCostId(String baseServiceCostId) {
		this.baseServiceCostId = baseServiceCostId;
	}

}
